diff options
Diffstat (limited to 'middleware/src/app/[gameName]/page.tsx')
| -rw-r--r-- | middleware/src/app/[gameName]/page.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/middleware/src/app/[gameName]/page.tsx b/middleware/src/app/[gameName]/page.tsx index 76d883b..d4e7b51 100644 --- a/middleware/src/app/[gameName]/page.tsx +++ b/middleware/src/app/[gameName]/page.tsx @@ -89,7 +89,7 @@ export default async function GamePage({ } const redirectUrl = - postId && mainNewsUrl ? `${mainNewsUrl}/game/${gameName}#${postId}` : null; + postId && mainNewsUrl ? `${mainNewsUrl}/game/${gameName}#${postId}` : mainNewsUrl; return ( <main className="main"> |
